#header{
    height:70px;
    position:relative;
}
#logo{
    position:absolute;
    top:0px;
    right:0px;
}

/* main menu */
#menu{
    float: left;
    position:absolute;
    bottom:0;
    height:35px;
    width:100%;
    background:#FFF url(../img/dot.gif) 0 bottom repeat-x;padding-bottom:2px;
}
button.menu {
    background: url("img/button.png") repeat-x scroll 50% 50% #AACCFF;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    float: left;
}
button.menu:hover {
    border: 1px solid #AAAAAA;
}

/* view - new */
#subheader{
    height:35px;
    position:relative;
    background:#FFF url(../img/dot.gif) 0 bottom repeat-x;
}
#submenu{
    display: none;
    position:relative;
    bottom:0;height:35px;
    width:100%;
    padding-bottom:2px;
}
button.submenu#submenu_new {
    background: url("img/button.png") repeat-x scroll 50% 50% #44DD44;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    float: right;
    padding:  1px;
}
button.submenu#submenu_new:hover {
    border: 1px solid #AAAAAA;
}
button.submenu#submenu_view {
    background: url("img/button.png") repeat-x scroll 50% 50% #AACCFF;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    float: right;
    padding:  1px;
}
button.submenu#submenu_view:hover {
    border: 1px solid #AAAAAA;
}
button#logout {
    float: right;
}

/* messages */
#errormsg {
    display: none;
    position:absolute;
    height:25px;
    margin-top: 1px;
    width:100%;
    z-index: 1;}
#errormsg p {
    color: red;
    font-weight: bold;
}
